namespace HEFramework
{
    public class Scene : Entity, IAwake<object>, IScene
    {
        public eSceneType SceneType { get; set; }

        public Scene(eSceneType _sceneType, object _message = null)
        {
            this.SceneType = _sceneType;
            this.InstanceID = 0;
            this.IsCreated = true;
            this.IsNew = true;
            this.IScene = this;
            this.IsRegister = true;
            Log.Debug($"Scene create: {this.SceneType} {this.InstanceID}");
            SystemOwner.Instance.Awake(this, _message);
        }
    }
}